from rest_framework.pagination import PageNumberPagination


class LargeResultsSetPagination(PageNumberPagination):
    """分页器"""
    page_size = 20
    page_size_query_param = 'page_size'  # 每页数量
    max_page_size = 1000
